html,
body {
  min-width: calc(100vw);
  min-height: calc(100vh);
  background-color: #f5f5f5;
  padding: 0;
  margin: 0;
}

.mainBox {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.toHome {
  display: block;
  width: 130px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #000;
  text-decoration: none;
  padding: 5px 10px;
  transition: all .2s linear;
  position: relative;
  z-index: 10;
  margin: 10px auto;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #dddddd);
  box-shadow:  22px 22px 32px #d0d0d0, 
               -22px -22px 32px #ffffff;
}

.toHome:active {
  color: #666;
  border-radius: 20px;
  background: #f5f5f5;
  box-shadow: inset 22px 22px 32px #d0d0d0, 
              inset -22px -22px 32px #ffffff;
}


.socials {
  display: block;
  width: 100%;
  height: 20px;
  margin: 20px auto;
  clear: both;
}

.socials a {
  margin: 0 5px;
}

i {
  color: #000;
}

footer {
  width: 100%;
  height: 50px;
  position: absolute;
  padding: 10px 0;
  bottom: 0;
  text-align: center;
}

.indexFooter {
  width: 100%;
  height: 50px;
  margin-bottom: 0;
}

footer a {
  text-decoration: none;
  color: #787878;
  transition: .6s;
}

footer a:hover {
  color: #000
}